<?php
	$allowed_html = 'strong, b, em, i, u, strike, sub, sup, p, div, pre, address, h1, h2, h3, h4, h5, h6, span, ol, li, ul, a, img, embed, br, hr, object , param, iframe';
	
	$editorOptions = array(
      'html' => (bool) $allowed_html,
    );
	$editorOptions['plugins'] = array(
        'table', 'fullscreen', 'media', 'preview', 'paste',
        'code', 'image', 'textcolor',  'link'
      );

	  $editorOptions['toolbar1'] = array(
	    'undo', 'redo', 'removeformat', 'pastetext', '|', 'code',
	    'media', 'image',  'link', 'fullscreen',
	    'preview'
	  );
?>
<?php
	$labelHeader = $this -> labelHeader;
	$labelContent = $this -> labelContent;
?>
<div id="<?php echo $labelHeader ?>-wrapper" class="form-wrapper">
	<div id="<?php echo $labelHeader ?>-label" class="form-label">
		<?php echo $this->translate('Additional Information');?>
	</div>
	<div id="<?php echo $labelHeader ?>-element" class="form-element">
		<p class='description'><?php echo $this->translate('Header');?></p>
		<input type="text" name="<?php echo $labelHeader ?>" value="<?php if(!empty($this -> info)) echo  $this -> info -> header; else echo '';?>"> 
		<div class='remove_content'>Remove</div>
	</div>
</div>
<div id="<?php echo $labelContent?>-wrapper" class="form-wrapper">
	<div id="<?php echo $labelContent?>-label" class="form-label">
		&nbsp;
	</div>
	<div id="<?php echo $labelContent?>-element" class="form-element">
		<p class='description'><?php echo $this->translate('Content');?></p>
		<?php 
			$value = null;
			if(!empty($this -> info))
			{
				$value = $this -> info -> content;
			}
		?>
		<?php echo $this -> formTinyMce($labelContent, $value, $editorOptions); ?>
	</div>
</div>	
